﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="NodeList.aspx.cs" Inherits="Manage_Cms_NodeList" %>

<%@ Import Namespace="KeRui.Common" %>
<html>
<head>
    <!--#include file="../js/html_head.inc"-->
    <link rel="stylesheet" type="text/css" href="../Themes/<%=ManageHelper.GetTheme()%>/style.css" />
</head>
<body>

    <script type="text/javascript">
    var $ = function(id){return document.getElementById(id);}
    function displayChildren(parentid,obj)
    {
        if($(parentid).style.display=="none")
        {
            $(parentid).style.display="block";
            obj.src="/Manage/Pic/tree/minus.gif";
        }
        else
        {
            $(parentid).style.display="none";
            obj.src="/Manage/Pic/tree/plus.gif";
        }
    }
    </script>

    <form id="form1" action="?act=delete&siteid=<%=PageRequest.GetInt("siteid",-1) %>"
        method="post" onsubmit="CheckSelect();">
        <table width="95%" align="center" id="ddd">
            <tr>
                <td align="right">
                    <table cellpadding="0" cellspacing="0" width="100%">
                        <tr>
                            <td>
                                <input type="button" name="AddChannel" value="快速添加" onclick="ymPrompt.win('NodeItem.aspx?siteid=<%=PageRequest.GetInt("siteid",-1) %>',470,520,'快速添加栏目',null,null,null,true);"
                                    id="AddChannel" class="button" />
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
        <%=ManageHelper.PageSucMsg()!=""?"<div class='msg_succeed'>"+ManageHelper.PageSucMsg()+"</div>":""%>
        <%=ManageHelper.PageErrMsg()!=""?"<div class='msg_failed'>"+ManageHelper.PageErrMsg()+"</div>":""%>
        <div class="column">
            <div class="columntitle">
                管理栏目</div>
            <table cellspacing="0" cellpadding="0" align="center" border="0" style="width: 100%;">
                <tr class="summary-title" align="Center" style="height: 22px;">
                    <td width="60%">　　　　　　栏目名</td>
                    <td align="Center" width="10%">栏目索引</td>
                    <td align="Center" style="width: 30px;">上升</td>
                    <td align="Center" style="width: 30px;">下降</td>
                    <td align="Center" style="width: 80px;">评论</td>
                    <td align="Center" style="width: 120px;">操作</td>
                </tr>
                <%=nodeList(0, siteID,play)%>
            </table>
        </div>
    </form>
</body>
</html>
